package com.ws.user.user.service;

import com.ws.common.easyui.util.Page;
import com.ws.user.user.entity.UserRole;
import com.ws.common.base.service.IBaseService;

import java.util.List;
import java.util.Map;

public interface IUserRoleService extends IBaseService<UserRole>{
	public List<UserRole> list(UserRole params);

	public List<UserRole> list(UserRole params, Page page);

	public Integer save(UserRole userRole);

    Integer deleteByUserId(String userId);

    List<String> listRoleByUserId(String userId);
}
